package com.foreveross.proxyip.application.operate;



import com.foreveross.proxyip.entity.ChannelEntity;
import com.foreveross.proxyip.infra.PageData;
import com.foreveross.proxyip.monitor.vo.ChannelEntityVO;

public interface ChannelEntityApplication {
	
	public PageData findAllChannel(ChannelEntityVO vo,int pageIndex,int pageLen)throws Exception;
	public ChannelEntity addChannel( ChannelEntityVO vo)throws Exception;
	public void stopChannel(ChannelEntityVO vo)throws Exception;
	public void startChannel(ChannelEntityVO vo)throws Exception;
	public ChannelEntity updateChannel(ChannelEntityVO vo)throws Exception;
	public ChannelEntity deleteChannel(ChannelEntityVO vo)throws Exception;
	public boolean checkChannel(ChannelEntityVO vo);
	public Integer validatePass(Integer id,String pwd)throws Exception;
}
